<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<script type="text/javascript">
			var path="<%=path%>";
	</script>
    <base href="<%=basePath%>">
    
    <title>个人中心</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="<%=path %>/js/adminLogin.js"></script>

  </head>
  
  <body style="text-align: center">
    <h1>这里是积分提现页面</h1><br>
    
    <div>
    提现倒计时:
    <span id='daya'></span>天
    <span id='hoursa'></span>小时
    <span id='minua'></span>分
    <span id='secoa'></span>秒
</div>
<script type="text/javascript">
/**
*
*   copyright WE 2012.7
*   js实现动态倒计时功能
*   a是从后台接收到的时间戳，需转换成毫秒单位
*
*/
    var a=8812345678;         //以毫秒为单位
    function fomtime()
    {
        a=a-1000;
        var b=new Date();
        b.setTime(0);
        var c=new Date();
        c.setTime(a);
        var day1=b.getDate();        //为方便调用，把天数、小时等单独定义
        var hours1=b.getHours();
        var minu1=b.getMinutes();
        var seco1=b.getSeconds();
        var day2=c.getDate();
        var hours2=c.getHours();
        var minu2=c.getMinutes();
        var seco2=c.getSeconds();
        var day=day2-day1;
        var hours=hours2-hours1;
        var minu=minu2-minu1;
        var seco=seco2-seco1;
        document.getElementById('daya').innerHTML=day;
        document.getElementById('hoursa').innerHTML=hours;
        document.getElementById('minua').innerHTML=minu;
        document.getElementById('secoa').innerHTML=seco;
        setTimeout("fomtime()",1000);
    }
    fomtime();
</script>
    
    
    <br>
    <a href="<%=basePath%>user/toMain.do">返回主页</a>
  </body>
</html>
